package com.yyk.yykywd.mvvm.entity;

/**
 * 文件描述：
 * Created by guo on 2019/4/23.
 */
public class APPInfo {

    /**
     * code : 1
     * msg : 返回成功
     * data : {"int":20190422,"flag":0,"url":"/file/yykysd.apk"}
     */

    private int code;
    private String msg;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * int : 20190422
         * flag : 0
         * url : /file/yykysd.apk
         */

        private int vcode;
        private String version;
        private String content;
        private int flag;
        private String url;

        public String getContent() {
            return content == null ? "" : content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getVersion() {
            return version == null ? "" : version;
        }

        public void setVersion(String version) {
            this.version = version;
        }

        public int getVcode() {
            return vcode;
        }

        public void setVcode(int vcode) {
            this.vcode = vcode;
        }

        public int getFlag() {
            return flag;
        }

        public void setFlag(int flag) {
            this.flag = flag;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }
    }
}
